package com.link.base.base.appduty.service;

import com.link.base.base.appduty.model.AppMenu;
import com.link.core.basic.service.BasicService;

import java.util.List;
import java.util.Map;

/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  unknwon
 * @date:   2018/11/8 13:45
 * @version 1.0
 */

public interface AppMenuService extends BasicService<AppMenu> {
    /**
     * 查询按钮列表
     * @param appMenu
     * @return
     */
    public List<AppMenu> queryUnSelectMenuListPage(AppMenu appMenu);

    /**
     * 查询所有的菜单列表，包括安全性菜单
     *
     * @author 李莹
     * @date 2020/07/16 05:16
     */
    Map<String, Object> getAllMenuList(AppMenu menu) throws Exception;

    List<AppMenu> queryUserMenus(Long appRole, Long corpId);
}
